/**
 *
 */
package com.suieqian.dto.req;

import com.suieqian.dto.base.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 *用户
 *
 * @author win10
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "User对象", description = "用户")
public class UserReq extends PageParam {

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("用户账号")
    private String userAccount;

    @ApiModelProperty("密码")
    private String userPwd;

    @ApiModelProperty("用户姓名")
    private String name;

    @ApiModelProperty("工号")
    private String code;

    @ApiModelProperty("电子邮箱")
    private String email;

    @ApiModelProperty("手机")
    private String phone;

    @ApiModelProperty("固定电话")
    private String tel;

    @ApiModelProperty("创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty("登录次数")
    private Integer loginTimes;

    @ApiModelProperty("部门id")
    private Long departmentId;

    @ApiModelProperty("性别 （男 女）")
    private String sex;

    @ApiModelProperty("籍贯")
    private String nativePlace;

    @ApiModelProperty("身份证号码")
    private String idCardNo;

    @ApiModelProperty("住址")
    private String address;

    @ApiModelProperty("用户状态 0 正常 1删除")
    private Integer delStatus;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("创建人")
    private Long createId;

    @ApiModelProperty("更新人")
    private Long updateId;

    @ApiModelProperty("更新人姓名")
    private String updateName;

    private List<Long> roleIdList;
}
